PATH  Mac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Icon Services and Utilities
>
Obtaining and Using Icons With Icon Services

   

IconSuiteToIconFamily

Provides IconFamily data for a specified IconSuite .

pascal OSErr IconSuiteToIconFamily(
                     IconSuiteRef iconSuite,
                     IconSelectorValue whichIcons,
                     IconFamilyHandle*iconFamily);

iconSuite
A value of type IconSuiteRef to use as a source for icon data.

whichIcons
A value of type IconSelectorValue specifying the depths and sizes of icons to extract from the iconFamily data structure. For a description of the possible values, see Icon Selector Constants .

iconFamily
A handle to an iconFamily data structure. On return, this data structure contains icon data as specified in the iconSuite and whichIcons parameters. Icon Services returns NULL if no appropriate icon data is found. For more information on the IconFamily data structure, see Figure 2-1 .

function result
A result code. See Icon Services Result Codes for a description of possible return values.

© 1999 Apple Computer, Inc. – (Last Updated 03 Dec 99)